# 单继承
class Phone:
    IMEI = None
    producer = 'HW'
    def call_by_3g(self):
        print("3g通话")
class Phone2024(Phone):
    def call_by_5g(self):
        print("5G!!!")
#phone = Phone2024()
#phone.call_by_3g()
# 多继承
class NFCreader:
    nfc_ver = "第六代"
    producer = "HW"
    def read_car(self):
        print("NFC读卡...")
        
    def write_car(self):
        print("NFC写卡...")

class light:
    def open_light(self):
        print("打开手电筒")
        
    def close_light(self):
        print("关闭手电筒")

class NEW_phone(Phone2024,NFCreader,light):
    pass

new_phone = NEW_phone()
new_phone.close_light()
new_phone.call_by_5g()